import homeRoutes from './home' // index页路由
import commonRoutes from './common' // 普通路由
import centerRoutes from './center' // 个人中心
import declareRoutes from './declare'
import dynamicRoutes from './dynamic'
export default [
  {
    path: '/app',
    component: () => import ("@/home.vue"),	
    children: [
      ...homeRoutes,
      ...commonRoutes,
      ...centerRoutes,
      ...declareRoutes,
      ...dynamicRoutes,
    ]
  },{
    path: '*', //跳转主入口
    redirect: '/index'
  }
]










